function [temp]=to_ceil(x,task_num)
max_purchase=3;
alternative_instance_type=3;
alternative_purchase_type=2;
temp(:,1)=ceil(x(:,1)*max_purchase);
temp(:,2:4)=ceil(x(:,2:4)*alternative_instance_type);
temp(:,5:7)=ceil(x(:,5:7)*alternative_purchase_type);
temp(:,8:task_num+7)=floor(x(:,8:task_num+7).*(temp(:,1)+1));  %0表示卸载至本地